Skip to content

Java10 support #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

dapanghu
Copy link

This version of drjava can be compiled by Java10 in mac and pass most of Test except testDancingUI.

dapanghu added 11 commits May 2, 2018 21:59
…" to the Drop-down menu and tool bar. Doing this by create a new class MyJUnitCore

    extended JunitCore which can run testsuite in parallel. It will be called in JUnitParallelTestRunner  that extended JUnitTestRunner.
    JUnitParallelTestRunner is called by  JUnitParallelTestManager  that  extended JUnitTestManager.
    All the test can pass.

    The files that changed or added
    modified: drjava/build.xml
    modified: drjava/src/edu/rice/cs/drjava/CommandLineTest.java
    modified: drjava/src/edu/rice/cs/drjava/DrJavaTestCase.java
    modified: drjava/src/edu/rice/cs/drjava/config/OptionConstants.java
    modified: drjava/src/edu/rice/cs/drjava/model/DJError.java
    modified: drjava/src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java
    modified: drjava/src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
    modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitErrorModelTest.java
    modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitModel.java
    new file: drjava/src/edu/rice/cs/drjava/model/junit/JUnitParallelTestManager.java
    new file: drjava/src/edu/rice/cs/drjava/model/junit/JUnitParallelTestRunner.java
    modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitTestManager.java
    modified: drjava/src/edu/rice/cs/drjava/model/junit/JUnitTestRunner.java
    new file: drjava/src/edu/rice/cs/drjava/model/junit/MyJUnitCore.java
    modified: drjava/src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java
    modified: drjava/src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVMRemoteI.java
    modified: drjava/src/edu/rice/cs/drjava/model/repl/newjvm/MainJVM.java
    modified: drjava/src/edu/rice/cs/drjava/ui/ErrorPanel.java
    modified: drjava/src/edu/rice/cs/drjava/ui/JUnitPanel.java
    modified: drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
    modified: drjava/src/edu/rice/cs/drjava/ui/coverage/CoverageFrame.java
    modified: drjava/src/edu/rice/cs/util/LogTest.java
…arallel=true and -DThreadCount=4 (This is the number of thread used to test in parallel)

	modified:   build.xml
…tCase to reuse it. GlobalModelJUnitParallelTest and GlobalModelJUnitTest will extend GlobalModelJunitTestCase and run those testcase in parallel and sequential way.

       modified:   build.xml
       new file:   src/edu/rice/cs/drjava/model/GlobalModelJUnitParallelTest.java
       modified:   src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java
       new file:   src/edu/rice/cs/drjava/model/GlobalModelJunitTestCase.java
       modified:   src/edu/rice/cs/drjava/model/GlobalModelTestCase.java
       modified:   src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
       modified:   src/edu/rice/cs/drjava/model/junit/JUnitParallelTestManager.java
       modified:   src/edu/rice/cs/drjava/model/junit/MyJUnitCore.java
       modified:   src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java
       modified:   src/edu/rice/cs/util/LogTest.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant